package com.lunm.im.massage;

import com.lunm.im.menu.InstructionType;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @program: mi-server
 * @author: Shawn
 * @create: 2024-12-28 18:59
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ChatRequestMessage extends Message {

    private String from;
    private String to;
    private String content;

    public ChatRequestMessage(String from, String to, String content) {
        this.from = from;
        this.to = to;
        this.content = content;
    }

    @Override
    public InstructionType getMessageType() {
        return InstructionType.CHAT_RESPONSE;
    }
}
